package com.qf.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author zdl
 * @date 2025/2/17
 */
@Data
public class Student {
    private Integer id;
    private String sname;
    private Integer age;
    private Character sex;
    private Double score;
    @DateTimeFormat(pattern = "yyyy-MM-dd" )
    @JsonFormat(pattern = "yyyy-MM-dd" ,timezone = "GMT+8")
    private Date birthday;
    private Integer cid;
}
